package mygame.role.enums;

//先保留这个设定
public enum Race {
    MANKIND(0,"人类"),
    ORCISH(1,"兽人"),
    UNDEAD(2,"不死族");

    private int value;
    private String desc;

    Race(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }
}
